package com.tank.entrity;

import java.awt.*;

/**
 * 所有游戏物体的父类
 */
public abstract class GameObject {
    public double x, y;

    public abstract void paint(Graphics graphics);
    public abstract int getWidth();
    public abstract int getHeight();
}
